Resource Registry entry

Specify a resource (a string) that points to a document (local or web) or search engine from a module.

Usage

This Registry entry can be assigned to users and groups:

Key User User Group Group Group Group
Key 1 User User Group Group Group Group
Key 2 user user group group Default Default
Key 3 Table Table Table Table Table Table
Key 4 table Default table Default table Default
Key 5 Resource
Key 6 title
Value resource

where:

title

is the name of a resource displaying under the Tools>Resources menu.

When the same title is defined for a Resource, an entry higher in this list takes precedence over one that is lower. Thus in this example:

User fred Table eparties Resource Search Google resource1
Group Default Table Default Resource Search Google resource2
Group Default Table Default Resource Search GBIF resource3

when all users, including fred, select Tools>Resources, the Resources sub menu will display two entries: Search Google and Search GBIF. However, when fred selects Tools>Resources>Search Google, the resource shown will be resource1, whereas all other users will see resource2.

Resources shown on the sub menu are sorted alphabetically by title.

resource

defines the path to the resource to be displayed or fetched. In general this path takes the form of a URL, however any other document locator (e.g. file path) may be used. In order to allow data from the current record to be incorporated in a resource path, an XML based parser is used. In other words, you define in XML how the document path is to be constructed. The XML used consists of only six tags, but provides a flexible mechanism for building a document path.

Here we provide a solid overview of how to use the six tags to define resource. A detailed look at the six tags and their attributes can be found in XML reference.

Examples